#include <stdio.h>
#include <stdlib.h>
#include <assert.h>

int main ()
{

    int* p = (int*) malloc (sizeof (int) * 4) ;

    printf ("%x\n" , p) ;

    p = (int*) realloc (p , 10 * sizeof (int)) ;

    assert (p) ;

    printf("%x" , p) ;

    return 0 ;

}